fix image sliding animation