added query scroll