When making a node visible, be aware of pagination

The method to open containers in the tree, until a specific node is
visible, is now aware of the pagination. It makes containers change
their current pages so the node is really visible.