Similar Items: Active microscope stabilization in three dimensions using image correlation