forget jquery, using simple script instead for tab switching