Gestures library for desktop and touch devices