Theme Switcher for iFrames

Hi,

I was just wondering if there is a way to switch from one theme to another if the site is viewed in a Facebook iframe similar to when the theme switches when viewed on a mobile device?

(just in the process of getting my global marketplace products displayed on my facebook fanpage, it works fine, but when I click buy now I am brought to the blog in the iframe and am faced with scroll bars)