fixed hide gesture when in zoom in/out state, minor UI fixes and cleanup