changed nav anim to use transform