adjust portal layout