simplified location layout code for the sim popup menu