updates layout so dropdowns are shown in full. also header and footer are shown over right scrollbar