scroll bar draws and updates itself when dragged