Fixed some layout issues on mobile devices