added ability click on reference link and it will go to the appropriate place in tabs and accordions.  Also fixed a warning.