feat(mouse): keep rotation buffer size small
feat(mouse): keep rotation buffer size small

Avoid creating a large buffer vector when drag panning for
a long time by draining the buffer based on a cutoff time
before inserting a new item.
Drain copy of buffer again before calculating average rotation.

mapillary/mapillary-js,mapillary/mapillary-js