clean ui
resize opaque overlay if needed when browser width changes