fix so that newPin view appears properly + cleanup