Helpers: Make resetActivePageHeight() less aggressive

Do not set min-height if the existing height is good enough.
This fixes iOS 6.1, but not WP8.

(cherry picked from commit 459bb59eff0306a345b0a23d76263a73582e7432)

Closes gh-7325
Fixes gh-7322