added fade for tab switch