AJAX scrolling issues fix