A one-year-old child is in hospital after falling from a window above a shop in Gillingham.