moving logic to jquery.flexloader.js working on getting a jquery reference to the slides DOM element