adjusts modal and instructions positioning