From your description it sounds like a basting issue. With machine quilting the rule of thumb is to pin baste starting in the center of your quilt and move outward about every four inches or a hand width apart. Most of the time shifting happens when the quilt has not been adequately basted.