update transitions
fix image sorting