Have fun if you come across this in a Blame. Javascript reworks, basically fixing bugs with scrolling when navigating with keys. We now do that with an animation so we can have a callback that works around the fact that JS handles events that are triggered during code execution AFTER the code was executed to the end.
There was a reason to use prevAll() and not prev(). Do so again.
Make the sidebar wider