Fix smooth scrolling chile clicking and history back

Also make it work for both content being scrollable or body
fix slow scrolling on ipad