Do a nice steady cut out; far out then gently turn back parallel to the boat. Wait a second for the line to slack then jump for the trick. That should give you time to make the rotation without getting pulled back to the boat.
When I really concentrate on looking for the landing, it makes them so much easier.
Keep it up, gainers are great to throw next to an other boat on the water, especially a boat full of wakeboarders!