refactoring sleep views, adding graph
further formatting of sleep page. graph shows on dashboard but needs formatting