reverted to work locally for the slider