added open_prev_links