now also setting display=none when hiding child so that it isn't visible behind he new front item in any way.