adding viewport