Compact implementation of a scanning transfer cavity lock