fix image slider issue