Auto scroll visible range with previous/next keys

- Automatically scroll the visible range to the left or right when
selecting the previous or next frame (when paused)
- Fixed out of bounds when reaching 1st/last frames
- Fixed empty frame copied when a client had disconnected and selecting
a frame with N or P