load tabs and subtabs only when clicking on it