Fixed issue with scrolling and closing the list