iframe preview and display fix