add check so that player isn't toggled if already visible