added keyboard control for slider (left,right)