Added a scroll view to copy. Made the sliding view a separate class