Add redraw and history resize to fitInContainer
Release v1.2.25