Initial setup of image slider