Had a similar problem on a macbook MB404 black 2008 — swollen battery first, replaced. but still didn't work very well for some reason the touchpad. it turned out that if to put between the battery and is there a certain place piece of rolled paper is quite thin, there is an amazing smoothness, sensitivity and accuracy, but it's worked before through time (seen a swollen battery is something damaged)