Added some more logic too the pagination option in the details view.
Added some more templates logic, and fixed some responsive design errors.