Added clickable icon to collapse pager

Closes #3196
changed ESC to trigger collapsing of the pager in notebook