implement Paper.top and Paper.bottom