selection is dashed now, and fixed the boundaries when moving it