improved calendar positioning