Undo remove checkScrollbar method.