fixed slider by reloading it when displaying the index view

see http://www.menucool.com/slider/create-image-slider-dynamically