DUI: scroll to selected class.

Just one minor thing: when class is selected, we should scroll to it.

Reviewers
@Benglin ,@vmoyseenko, please take a look.