Adjusted code structure. Added toggle_target css selector as an option.