Finish the logic of moving point