Trying a more explicit display mode for elements to fix mobile safari bugs.