Thats what a happy Betta looks like :) If he only does it when you're near, it's him feeling frisky and healthy, now that he has a little territory.
Now, If you notice he does it pretty constantly, even when you are not walking past, he might see a reflection of himself and be wearing...