fixed imageslider not loading properly