Changed viewport height and width behaviour