Added close and refresh to pressing (i) to avoid problems with height not being right when coming back from edit screen
Fixed small lag on horizontal swiping due to scrollEnd being called even if no scrolling was being done