class displayviewport to body