updated the position of top ad elem