bloody conditionals -- viewports unlinking properly now per page -- even if a little ghetto