DUI: left right arrow crashes dynamo

Preface
When focus is on member button and this button is longer than `LibraryView`, if user presses left or right button it crashes Dynamo.
Solution
We need to check first: are we inside class details or not. And only than count new index, if this is needed.

Reviewers
@Benglin ,@vmoyseenko, please take a look.