remove DomUtil.getViewportOffset

as changelog indicates it has been removed.