Fixes navbar animation when toggle me bar.