Fix to use panels without layouts.

Panels were only available when we used layouts.
Without layout, we coudn't call "panel" in our template.

It's better that we can use panels even if layouts are not desired.