Fix page bounced on short pages.

Resolves #23.