fix image slider. Added animation