Store toggle alternate in a buffer variable to make it faster to toggle and to store the alternate location in the cases where we can't find it again.