integrated resize with actual page