Added touch event to toogle script, making sure links are handled correctly on touchscreens