added constants for slider position