Optimized applying max-width to panes
Also fixed #22 Iframe prevents resizing