Click tab 1 and tab 2 to switch in between tabs and to see animation. This could be done more efficiently but I just wanted it to work for now. I might go back and make the code more friendly to put into a project
Inspired by Googles animations Feel free to use with credit.