[refactor]: Use state instead of external variables in CoreLayout
[refactor]: Use state instead of external variables in CoreLayout

ericsonmichaelj/fear-the-repo,sujaypatel16/fear-the-repo,dont-fear-the-repo/fear-the-repo,AndrewTHuang/fear-the-repo,dont-fear-the-repo/fear-the-repo,sujaypatel16/fear-the-repo,ericsonmichaelj/fear-the-repo,AndrewTHuang/fear-the-repo