Dynamic response of non-structural elements of buildings under seismic loading