added animationDuration, animationSpringDamping, and animationSpringVelocity parameters specific to opening/closing the menu