making border on view details smoother