added events css, modified nx-position to allow height&width