In your galleries/ribbon_fullsize_lightbox/index.php file, could you not set an inline style width (491px) for the div class="thumbs-wrapper" div?:
<div class="thumbs-wrapper" style="width: 491px;">
then set the class="thumbs" margin style to auto?
<div class="thumbs" style="width: 474px; margin:auto">