Fibrewise smash product and fibrewise mapping spaces