added property to check if portrait mode is enabled