changed check dimensions to update dimensions made rotate up arrow