fixed issue with image slider