double border and keep position when changing screen