Got the active tabs working (please fix later)