Dynamically create the places list in the html, modify css using javascript to alter position depending on list length.