Updated example to include an inline slider
Fixed formatting, added events documentation
Add events