changed define to statics, aded ability to change animation style, added a potential new animation style, changed if, else flow to if, if-else flow for added clarity