This looks like it has great potential, but perhaps my brain is bad, because I feel like I have no idea what is successfully causing me to progress.
Also, if we only need two tabs, is it possible to make it so that pressing the button again just moves me to tab 2? I don't know how feasible that is, since someone could have as many tabs as they like open.