adding viewport code