Added manual control over layout draw method

Added manual control over layout draw method