add swipe back method in topic view