Roomdetail pagination refactoring.