Adding jquery to do the transition between the main tabs