Improvements to layout for Safari and iPad