Skip disabled tabs

A better implementation of my last pull request (#42) which uses a `while` loop to skip disabled steps :)