Let $f:X\times \mathbb{R}\rightarrow X$ continuous, where $(X,d)$ is compact metric space. I wonder if this function is continuous:
$$s\rightarrow \sup_{(x,t)\in X\times \mathbb{R}}d(f(x,t),f(x,t+s)).$$
I see that the function is well defined because an upper bound is the diameter of the set $X$, but to show the continuity there is a process of change that limits I do not understand , appreciate if you could give me some suggestions on how to test that the function is continuous.