working nav animation