fixed menu positioning bug when on edge of screen
fixed menu positioning bug when on edge of screen

Change-Id: I996bdbd2dd351fdcfc8aad0c51c743e33e9694a0

WeaveTeam/WeaveJS,WeaveTeam/WeaveJS,WeaveTeam/WeaveJS,WeaveTeam/WeaveJS