Fixing alignment of the two panels