fixed button function so that player stops upon finger releases