added inner_window in will pagination