adding h and l controls for paging