I found out that the properties used in animation module do not accept variables as a value for start and end for example:
when = Transition.ToNewSelection ,property = "y", start = 200 * direction, end = 0, delay = 0, time = 500
When the variable "direction" changes it does not affect the starting position of the animation, is it by design or a bug?