added initial offset for popup