OK. My slippery clock is now working properly.
I would like to add one last option : would it be possible to fix the clock on the screen by clicking on it, once it has come down from the upper edge of the screen ? And then make it disappear again by clicking on it again ?