Fixing vertical scroll and snap issue #393