I did it with css. Also the way it start had to be changed so nothing is running when it's not in a toolbar.