lots more progress
seperate view and edit buttons from period view