add slides on dom and performance