changed live preview plugin, added viewport