set the height of toggle-sidebar only after the entire page has loaded to get real height