added support for ncurses_scrollok and ncurses_wsetscrreg functions