Added canScrollVertically for up direction