Refactor top and bottom ads