Added $emit before adding or removing ui-scrollfix class

I needed to be notified before the ui-scrollfix class was added to or removed from the element. Therefore I added code to $emit a message before the css change is added.