adding pagination changes and title bar shrinkage