Modular responsive tabs

I modularized the code so a user can pass in their own parameters