Use requestAnimationFrame for jQuery animations if possible
Add a method to do before slide changes and improvements