add arrowPosition option
move transitions to their own file
add transitionDirection option
slight cleanup, slight sanity check