Loading animation for nav links