Swipe permalink

Fix #1312