bound windows position to integer in notebook