moved function so that hovering over jobs now calls onhover function