added crossplatform layout and orientation change behavior