Added doc comment for getViewportDimensions().

Related to issue #85.