fix placing and move of detail block