try to use the mobile orientation API