Implemented the new viewport control
closes #82