Parents often tuck their little children in bed, which means they cover them with a blanket. The meaning in your sentence is similar. The ends refers to the ends of the tablecloth that the elves folded in order to cover Winky.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.