movement and popUp implemented