var timer;
$('.navigation ul li ').hover(function() {
clearTimeout(timer);
var elem = $(this);
var index=$(this).index();
timer = setTimeout(function(){
elem.parent().find('div').animate({'left':index*3.16+'rem'},400);
elem.find('a').css('color',"#ffffff");
},500);
},function() {
$(this).find('a').css('color',"#000")
});