add parameter for rotation, to recheck anchors, after rotating screen