Only auto-scroll when at the bottom, fixed version