Added event triggers when performing HES menu actions
Added some comments for the more confusing stuff we're doing here
Switched to postMessage rather than jquery trigger, added listener in imagetoggle to fix icons when collapsing images