Enable relayouting of page based on screen width using metadata