Fixing Undefined Variable

The thumb_gallery was using a undefined variable "$atts['id'];" that variable do not exist, using the $gallery_id variable instead.

Signed-off-by: Enrique Chavez <noone@tmeister.net>
Merge pull request #136 from Tmeister/dev

Fixing Undefined Variable