Stop the class list wells jumping shut when there is only one item

@meshy asked me to take a look at this. 

Anything else you wanted fixing whilst I'm at it?