fixed slider logic