You could use `.toggle( boolean )` here, to avoid the duplicate selectors on the lines below.