Change the way to handle event class name.

Use factory pattern to handle it, instead of using + operator of
string.
Add selection handler.

Now perfect-scrollbar supports scrolling by selection.