added @viewport control for devices