adding slider range control