implemented libiframe for all views