Logic adjustment for slider