Fix horizontal axis if the contents size matches view size.

Panning will move horizontally only if contents size is
bigger than visible area.

Reviewed by: Hugo Parente Lima.