Moved styling to DDBasic to make it more responsive and update JS with more control over the tabs rotation