adjust scroll distance when share memo switch edit mode and fix mode.