Refactored code responsible for layout management