I found this orientation test code below looking for JQTouch reference material. This works correctly in the i