add slide effect from four directions.