Use the Open sidebar! to open the sidebar and change the width of the map.

This example shows how to animate the resizing of a map without distortions of the map during the animation. This uses the ngeoResizemap directive.