update autohide for scrollbar