added javascript to make the top bar more consistant with the area of the page the user is viewing.