Swiping through multiple pages in ios UI Automation
===

working in the ios UI Automation instrument and I am currently stuck. My problem is I am trying to automate a horizontal swipe between pages in javascript and I can't seem to get it to work. 

I have tried: 

"dragInsideWithOptions"

"flickInsideWithOptions"  

"dragToFromDuration" 

"flickFromTo"

a problem that keeps occurring is it keeps targeting the top navigation bar when I just want it to target somewhere on the window to actually change to a new page. The only info I saw on the references for UI automation deals with rects() and it seems that everytime i specify {x:, y:}{x:, y:} coordinates it thinks im talking about a toolbar or navigationBar. It is not in a scroll view so I simply cannot scroll "left" or "right." Is there another function I can call that will allow my test to move to a different page?