added touch events to open/close sidebar