refactor(tabs): preventDefault when anchor is clicked