tabs working in both horizontal and accordion states
fixed tab issues on screen size change