added play/pause button, simplified handlers