slide transitions almost finished, need some refractoring