added resize and edited menu