Attempt to make tabs work with location