Flipped around tab CSS for better compatibility with user profile edit page

Signed-off-by: Elliot Condon <e@elliotcondon.com>
Improved tab HTML and JS to allow for compatibility with profile edit pages

Signed-off-by: Elliot Condon <e@elliotcondon.com>