added simple pagination
select page when loading log