Wrapper for jQuery.transit which decides weather to use transitions or jQuery animate