Added feature to maintain position of point after switching windows.