slide animation in nav bar + a little bug