move ad inside the main frame