prevent default behavior for tab clicks