You can take your right rein and bring his head around a bit, so he can't reach you; eventually he won't even try, because he just can't reach. Others will bring the left rein around. Essentially just ignoring the 'attempts'.
The thing that you did with making him move his feet would work as well; though that's usually my tactic for getting a horse to stand still. With a horse that wants to bite as I'm getting on, I may work his tail off for a bit before going to mount, and then simply work on mounting...put foot up to stirrup, and retreat...walk horse away from 'mounting spot', repeating...basically retraining his mind, to NOT anticipate the mounting, because he doesn't know when it's going to happen.
I do that alot with horses I train, whether they nip or not, and whether they stand nice or not...I don't ever want a horse anticipating when I'm getting on, and deciding it's a good time to take a bite out of me, or walking off as soon as I go to swing my leg over. Now I'm not saying one has to mount and dismount 50 times per session, but don't just get on, ride, get off...engage the horse's mind, during every aspect of the time you handle him.
My mare likes to get 'over eager' every once in a while, when I go to get on, so we will sometimes spend 5-10 minutes walking up to the block, sending back and forth while I'm on it, halting next to it, then backing away, etc...I'll figit with her tack and what not, may get on, and get back off, etc, and start over...she stands like a rock, no matter how long I have her set there, even once mounted, as a result.
One thing I also don't do, is get on and immediately send a horse forward; I might do a bunch of flexing laterally, and some backing, hip and shoulder yielding, etc...but I don't just get on and "GO"...that helps alot with anticipatory responses as well, as they really don't know when to expect your forward cue.
"The ideal horseman has the courage of a lion, the patience of a saint, and the hands of a woman..."