swipe to change document types