move viewport class to body