making getLayout a deferred setup due to timing issues surrounding getComputedStyle at given points