improved button touch functionality for isDown