$(".instructors .block").on("mouseenter mouseleave", function(event){ $(".description",this).stop(true,true).animate({top: event.type == "mouseenter" ? 0 : 330}, 500); } )