fix image layout in sidebar