How to solve object itself movement?

I have a wall and a script on it here’s the script:

using UnityEngine;
using System.Collections;

public class dvizenjezid : MonoBehaviour {
	public GameObject zid1;
	float pos;
	// Use this for initialization
	void Start () {
	     
	}
	float zidmax = 146f;
	// Update is called once per frame
	void Update () {
	transform.position += Vector3.up * 0.2F;
    if (transform.position.y == zidmax)
		{
						transform.position += Vector3.down * 1F;
		}
	}
}

so i make the wall go up and when it reach the maximum point zidmax it should stop and go down. and that doesn’t work it only goes up to infinity if you can help somehow i appreciate it.

if (transform.position.y > zidmax)