Fixed the image slider sizing bug