change position of details tag