Added viewport settings
working with scaling