content and map adjust to toggle and resize (animation currently gone)