Real world question


Hi everyone.
This is an important chapter for me, I am working on an app that sort of social networking with postings and comments. I am trying to build the comment section of the app to behave like the comments on instagram ( where someone can slide the comment to the left and then expose behind the scene controls that are used.
Anyone has an idea how to do that?