Add sliding transition of elements