Added better code for tooltip positions
Added tooltip callbacks
Added example
Added many comments