add a close button and make right pane 100% on small devices