added scrolling functionality and modal