return error if ui_print_scroll fails