move pointer to middle of focused window