Fixed scrolling when going back from library mode.