add will_paginate to photos