fit images in side pane