Patch 2

Fix for a bug in the code I submitted before. also touchcancel event needs to reset the class name.
once again elements have the name 'pseudo-active' while being touched.