add toggleTaskInfo function
hide taskcontent and edit button in overview