Prev and next buttons now hide while playing animation.