offline behavior, layout