delete unnecessary code
custom slideWith and margin