added scroll method