nav item animation fix. Fixes #49.