reverted change for slider