Adjusting size of image slider