added resolve/dissolve. made effect work on document.body