fix resort when prior is nil
some css changes to panel title