changed overlay color
use actual div size to calculate the position