added update callback for customscrollbar to prevent weirdness