Glass obstacle detection and avoidance

Hello,

I'm looking to build a little underwater robot that could maneuver around a glass tank
and I'm hoping to avoid having the robot bump into walls.
So far I've had moderate success by using phototransistors as "eyes", but they require the robot to be extremely close to the glass walls before it picks up on the reflection. Ambient sunlight throws off the sensors too, but that could potentially be fixed by having a fixed sensor on each side of the tank and subtract it from the robots readings.

Any ideas on how to achieve more consistent results?

I couldn't find ultrasonic sensors that are small or affordable enough either. As a last resort, I guess I'll add "whiskers" that send a signal when they bump into things.

If you guys have better ideas let me know!

Whiskers it is