If the next step is a normal frame and the previous step is an empty frame, we get a nice opening animation
And vice versa, if the next step is an empty frame, we get a nice closing animation