fix collapsing right bar dimensions