Selection grid for moving and resizing windows