refactors the create session panel layout