Added back/forward hooks for mouse