Added support for element based swiping.
Merge pull request #394 from mutualmobile/element_based_swipe

Added support for element based swiping.
make this test less likely to fail