fixing overlay box position