In the common.css file, you will have to change the width for this property:
.pg-rf
Then you would have to find the div:
<div class="thumbs-wrapper" style="width: 791px;">
and this div:
<div class="thumbs" style="width: 790px;">
And change the width to be less. This should allow you to customize the size of your gallery to fit with your page.