fixed image path for multi folder scml and added animation handler

should fix image path for multi folder scml (had duplicate folder in path, example torso/torso/ for the following scml :  <folder id="0" name="torso"><file id="0" name="torso/p_torso_idle.png"...)

add function to change animation (demo updated too)