You only have 6 elements under panel.
Why you set the Grid layout to 5*5 (which will need 25 elements).
That is why the EJS reserve space for other elements to join.
If you just need two column set it to 0*2 (0 rows, 2 columns: 0 means ejs will count the row number from number of elements )
Change the Grid Layout property(for top [b]panel[/b]) to 0*2 will solve your problem.