fixed weird margin behavior on login and margin pages