home page buttons and sleep page functionality