Make plugin more flexible

Hi,
I think it's a good idea to allow user to set some options,
elements to listen for example, why not more in futur versions, like animation type (to have more option than easeInOutCubic), etc.