Adding scroll event handling for expanding rows
handling added for scroll event