Initialising layout manager