added UIViewAnimationOptionCurveEaseInOut option when showing and hiding menu