add public method slide and fade