simplified a effect with a layer. also renamed
cleaned up by adding toggleUI function t toggle show/hide state