fixed slider bug in settings page