Fixed view formatting
Made popup centre on view