Add frames to the parent layout