Fixed display issues on mobile devices