added a scrollToTop function ... used within the alert code and dashboard display