change layout viewport