updated pagination and limitator while displaying images