added fix to vertical panel