styling for pagination on mobile browser