The style code is inserted by the jQuery script. You can probably change that layout by changing the settings in the script at the bottom of your <head> element:
jQuery('#componentWrapper').thumbGallery({
/*layoutType: grid/line */
[COLOR="#FF0000"]layoutType: 'grid',[/COLOR]
/*thumbOrientation: horizontal/vertical */
[COLOR="#FF0000"]thumbOrientation: 'horizontal',[/COLOR]
/*moveType: scroll/buttons */
moveType: 'buttons',
/*scrollOffset: how much to move scrollbar and scrolltrack off the content (enter 0 or above) */
scrollOffset: 25,
Try changing layoutType: 'grid', to layoutType: 'line',, or perhaps try changing thumbOrientation: 'horizontal', to thumbOrientation: 'vertical',.
You’d think the ‘horizontal’ setting in the second example would be the one you want, but who knows.