snaping move point to grid, refreshing on resize