Basically another phrase for masturbation, except it's more fun to say. To "sling jelly" is to masturbate.
Jim: "Hey man are you busy?"Dan: "Nah man I'm slinging jelly right now."