Bug fixes.

* Allows links inside the tab content without conflicting with the tab links themselves.
* Refactors the code to target a target_class so that any html element can be used for the tab content.
* Deletes trailing whitespace.