Progress at flipping the popup button position according to incoming/outgoing ams