Function ScrollBar.updateState

hide controls when scroll is not possible

void updateState();