Created a new event "activate"

The "activate" function allows people to click a tab through code.

Now you can use the following to essentially "click" a tab:

```javascript
$('#tabs').find('[role="tab"]').first().trigger("activate")
```

I've also removed the duplicate binding of the "resize" function (only
needs to be bound once outside the loop)