Nir - Selected line will be infront of all other lines
Nir - code organizing