Changed input handling and gesture handling