Added relayouting behaviour