Fix style for pagination in mobile device

- make it always one line