Bind mouse back/forward buttons for navigating the history

Signed-off-by: David Ellsworth <davide.by.zero@gmail.com>