Animate the shadow when the center panel hides or unhides