added a control panel with play and pause buttons