editing style of carousel, image not responding correctly in mobile layout