fix image orientation
fix  issues/183
fix back stack issues