history prescription window layout change