add back/forward key events to end slide as well