Using swipe gesture to dismiss viewer (as on fabebook)