center div/span when elem is clicked