now slider works