added top buffer to each page