Fixing bash history scrolling