Now allows for different positioning of panes based on the size of the screen