working in landscape and portrait mode - NO SCLANING