add hook for normal non-compact viewing mode