Also fix scrolling for ajax errors