added closeItem Reverse, trigger close at top or bottom of itme