layout fixes and media queries