added scroll control