CYB-367 - Improved iFrame resize function