fixed scrolling issue and working on table elements