#19 properly hide guide for edge cases, fix resize function by using existing header re-render function