make sure selected block is on top