altering switchDetail view