implemented simply scroll functionality