shell/layout: Add implementation for the width param