entitree is only viewable when the classes are shown

This fixes the issue #744 it shows only the entitry if there is no page selected and the classes should be shown