implemented home and left button.