restricting slider in case of small ambiant bar