Final fix mobile camera triggers. Rotate is messed

Fixed the triggers but the user agent detection is not best practice.
Still the rotation issue remains