add layout methods which optionally clear all cached data
use layout command for triggering layouting