add top-left and top-right position to index.php and templateDetails.xml