rate popup bug fixed

when the keyboard appears on the mobile phones, the 'reflow' function is
called in the background, so we have to check this event