Moved the onclick to the div rather than the a