changing min_h
binding scroll events