added main nav animation, fixed build issue