added navbar animation. Fixes #19.