Won't catch me coding it in this lifetime

Bumps are the most annoying thing known to man. But, I believe there is already a hack, at least for version 2.x, that does what you want. You can always read the code of that and work out a port.
Of course, it's going to be hard to search for said hack because searching for the word "bump" is going to bring up 10,000,000 posts