bug fix and adaptive hight slider