Adaptive layout of dynamic web pages