add swipeState
Merge pull request #1 from hjanuschka/master

add swipeState