Added viewport calculations for when FancyBox is being used inside a Facebook iframe application.