Fixed resize problem of right sidebar