added window margins