Don't you want to append the hidden class on the link as well?