animates and sets affic for nav