Create touch and mouse listeners