Browsing history in revision grid

Added support for backward/forward navigation mouse and keyboard buttons

closes #1800