added code for loading footprints on double click