remove draw in calculateDimension as it gets drawn again right after and causing weird jumping
use clientX/Y instead of page for correct position on elements with overflow
version