Fixing tabs

fixed the tabs and made the first tab load automatically