If it's slipping off the edge, it's usually because the feed dogs are feeding on the side of the fabric, but the other side they're "flapping in the breeze."
If you can move the needle position on your machine, try moving it as far to the right as possible so the fabric covers both the left and right feed dogs.