Add scroll to top feature since infinite scroll was implemented

This commit adds scroll to top feature since infinite scroll was added.