fix wonky layout on mobile safari