moving x-mas-mode handling