fix of sliding text for smartphones and iPad