Separate opening and closing animation into two different settings.