Added callbacks for orientation changes that occur during animations

This is basically the whole reason for the fork.