first step to seperate list and detailed view, make it possible to switch