setup movement, and readjusted setting with frame