Added touch and mouse support for WPF