What I am trying to accomplish is to have divs on my website that, when hovered on, causes the rest of the divs to shrink. It produces good results but there is an issue where if a mouse is placed on a div and taken off quickly (switching between divs) it re-sizes the divs to their starting dimensions BEFORE adjusting which divs should be shrunk. Any and all help is appreciated. JSFiddle http://jsfiddle.net/vulpCod3z/aYY4E/
$('#home').hover(
function(){
$('#locations').animate(
{height: "400px", width: "136px"});
$('#catering').animate(
{height: "400px", width: "136px"});
$('#mealPlans').animate(
{height: "400px", width: "136px"});
$('#jobs').animate(
{height: "400px", width: "136px"});
$('#aboutUs').animate(
{height: "400px", width: "136px"})},
function(){
$('#locations').animate(
{height: "448px", width: "150px"});
$('#catering').animate(
{height: "448px", width: "150px"});
$('#mealPlans').animate(
{height: "448px", width: "150px"});
$('#jobs').animate(
{height: "448px", width: "150px"});
$('#aboutUs').animate(
{height: "448px", width: "150px"})}