couple of fixes
Merge pull request #2 from gweinger/swipeyfix

couple of fixes