moved defaults out of function, variables and functions out of each, added mouseout event handler