Fix layout pager buttons