finished resizing functions for other pages