Added sliding transition

Added sliding transition, which can slide to the top, bottom, left, right