resolved div clicking issues by adding id to elem and binding within document.ready