add dir: prev/next to arrows helper context. adjust timer code to not queue events when tab is not active.