Map resizes when user hides the left panel.