adding viewport fix