update DEMO with edgesForExtendedLayout