added scroll up/down functionality