updated option to animate opening