Layout fixes for mobile devices