fixed destroy and added gallery skeloton