fixing mediapanel UI