Forcing viewport to full document size

@NeilFraser you might also want to look at this: Measure performance and modify viewportMargin accordingly