Adapt the mobile view for orientation changes