Created panel directive