changed scroll delegate to scroll direction delegate
added scroll delegate to grid view