pausing toggle implementation, only works for playing
pause operation is only for play