fixed buggy icon cancel

fixed bugs with icon cancellation, added new variable
"materializationToggled" to ui.js, enabled when materialization ability
clicked to toggle dash, when dash closed materialization ability is
disabled if G.UI.materializationToggled == true