Worked out smooth scroll and square image