viewport cleanup