working for slider on demo page