added profile view toggling