switching play and pause as well as zero input handling