adjusted overlay for smaller sizes