Tab changing

Added tab changing functionality/framework.