Alternate ways of measuring distance (lateral)?
I suggest you look at how real mice measure close distances:



Could you arrange to have some flexible wire (piano wire) attached to microswitches to emulate the mouse's whisker?

This can even be purchased as an off-the-shelf part: